package com.votesys.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Votetopic entity. @author MyEclipse Persistence Tools
 */

public class Votetopic implements java.io.Serializable {

	// Fields

	private Integer topicId;
	private String topicName;
	private String topicDescription;
	private String logoName;
	private byte[] logo;
	private Integer showPattern;
	private Integer checkOut;
	private Integer minCount;
	private Integer maxCount;
	private Integer flag;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public Votetopic() {
	}

	/** minimal constructor */
	public Votetopic(Integer topicId, Timestamp createTime) {
		this.topicId = topicId;
		this.createTime = createTime;
	}

	/** full constructor */
	public Votetopic(Integer topicId, String topicName,
			String topicDescription, String logoName, byte[] logo,
			Integer showPattern, Integer checkOut, Integer minCount,
			Integer maxCount, Integer flag, Timestamp createTime) {
		this.topicId = topicId;
		this.topicName = topicName;
		this.topicDescription = topicDescription;
		this.logoName = logoName;
		this.logo = logo;
		this.showPattern = showPattern;
		this.checkOut = checkOut;
		this.minCount = minCount;
		this.maxCount = maxCount;
		this.flag = flag;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getTopicId() {
		return this.topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

	public String getTopicName() {
		return this.topicName;
	}

	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}

	public String getTopicDescription() {
		return this.topicDescription;
	}

	public void setTopicDescription(String topicDescription) {
		this.topicDescription = topicDescription;
	}

	public String getLogoName() {
		return this.logoName;
	}

	public void setLogoName(String logoName) {
		this.logoName = logoName;
	}

	public byte[] getLogo() {
		return logo;
	}

	public void setLogo(byte[] logo) {
		this.logo = logo;
	}

	public Integer getShowPattern() {
		return this.showPattern;
	}

	public void setShowPattern(Integer showPattern) {
		this.showPattern = showPattern;
	}

	public Integer getCheckOut() {
		return this.checkOut;
	}

	public void setCheckOut(Integer checkOut) {
		this.checkOut = checkOut;
	}

	public Integer getMinCount() {
		return this.minCount;
	}

	public void setMinCount(Integer minCount) {
		this.minCount = minCount;
	}

	public Integer getMaxCount() {
		return this.maxCount;
	}

	public void setMaxCount(Integer maxCount) {
		this.maxCount = maxCount;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}